package com.eudon.user.manager;

import com.eudon.user.annotation.Manager;
import com.eudon.user.domain.entity.TbUser;
import com.eudon.user.mapper.TbUserMapper;
import jakarta.annotation.Resource;

/**
 * @author eudon
 * @description 用户相关操作manager层
 * @date 2025/9/16
 * @email syd19970616@gmail.com
 * @address <a href="https://gitee.com/eudon">Gitee</a>
 */
@Manager
public class UserOperationManager {
    @Resource
    private TbUserMapper mapper;

    public boolean registerOne(TbUser tbUser) {
        return mapper.insert(tbUser) == 1;
    }
}
